package lc.util;

public class Image {
	public Image(String name, String id, String path) {
		assert id != null;
		assert path != null;
		this.id = id;
		this.name = (name == null) ? id : name;
		this.path = path.replace('\\', '/');
	}
	public TextureMap makeMap() {
		TextureMap tm = new TextureMap();
		tm.path = path;
		return tm;
	}
	public String name;
	public String id;
	public String path;
}
